package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Member;

import java.util.List;
import java.util.Map;

public interface MemberService {
    Member findByTelephone(String telephone);
    Member findById(Integer id);

    void add(Member member);
    void edit(Member member);
    void deleteById(Integer id)throws Exception;

    List<Integer> findCountByMonth(List<String> months);
    PageResult findPage(QueryPageBean queryPageBean);
    List<Map<String,String>> findAllHealThmanagerName();
    List<Map<String,Object>> findByIds(String[] ids);

    List<Integer> findMemberCountByMonths(List<String> months);

    void edit(Member member,Integer validateCode);
    public Map findMemberCountByDate();
}
